package com.hulk.ratel.persistence.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.hulk.ratel.persistence.entity.SuperEntity;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author hulk
 * @since 2018-12-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_log_notify_record")
public class LogNotifyRecord extends SuperEntity {

    private static final long serialVersionUID = 1L;

    /**
     *   关联t_log_notify的id
     */
    @TableField("notify_id")
    private Long notifyId;

    @TableField("partner_no")
    private String partnerNo;

    @TableField("txn_code")
    private String txnCode;

    @TableField("trace_id")
    private String traceId;

    @TableField("notify_url")
    private String notifyUrl;



    @TableField("notify_times")
    private Integer notifyTimes;

    /**
     * 01 通知成功（已收到响应）
            02 通知失败
            99-超时
            04-处理中
            03-初始
     */
    @TableField("status")
    private String status;

    @TableField("req_time")
    private String reqTime;

    @TableField("resp_time")
    private String respTime;

    @TableField("req_msg")
    private String reqMsg;

    @TableField("resp_msg")
    private String respMsg;

    @TableField("ori_id")
    private String oriId;



    @TableField("rsv1")
    private String rsv1;

    @TableField("rsv2")
    private String rsv2;

    @TableField("rsv3")
    private String rsv3;


    public static final String NOTIFY_ID = "notify_id";

    public static final String PARTNER_NO = "partner_no";

    public static final String TXN_CODE = "txn_code";

    public static final String TRACE_ID = "trace_id";

    public static final String NOTIFY_URL = "notify_url";



    public static final String NOTIFY_TIMES = "notify_times";

    public static final String STATUS = "status";

    public static final String REQ_TIME = "req_time";

    public static final String RESP_TIME = "resp_time";

    public static final String REQ_MSG = "req_msg";

    public static final String RESP_MSG = "resp_msg";

    public static final String ORI_ID = "ori_id";




    public static final String RSV1 = "rsv1";

    public static final String RSV2 = "rsv2";

    public static final String RSV3 = "rsv3";

}
